﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AspNetCs.Model
{
    [Serializable]
    public class Users_Model
    {

        private int userid = 0;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get { return userid; } set { userid = value; } }

        private string username = "";
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get { return username; } set { username = value; } }

        private string useremail = "";
        /// <summary>
        /// 用户Email地址
        /// </summary>
        public string UserEmail { get { return useremail; } set { useremail = value; } }

        private int article = 0;
        /// <summary>
        /// 文章数量
        /// </summary>
        public int Article { get { return article; } set { article = value; } }

        private string pwd = "";
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Pwd { get { return pwd; } set { pwd = value; } }

        private string sex = "";
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get { return sex; } set { sex = value; } }


        private string homepage = "";
        /// <summary>
        /// 用户个人主页
        /// </summary>
        public string HomePage { get { return homepage; } set { homepage = value; } }

        private string addtime = "";
        /// <summary>
        /// 注册时间
        /// </summary>
        public string AddTime { get { return addtime; } set { addtime = value; } }

        private int logins = 0;
        /// <summary>
        /// 用户登录次数
        /// </summary>
        public int Logins { get { return logins; } set { logins = value; } }

        private string qq = "";
        /// <summary>
        /// 联系QQ
        /// </summary>
        public string QQ { get { return qq; } set { qq = value; } }


        private string msn = "";
        /// <summary>
        /// MSN
        /// </summary>
        public string Msn { get { return msn; } set { msn = value; } }

        private DateTime lastlogin;
        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public DateTime LastLogin { get { return lastlogin; } set { lastlogin = value; } }
        private DateTime loginouttime;
        /// <summary>
        /// 用户退出时间
        /// </summary>
        public DateTime loginOutTime { get { return loginouttime; } set { loginouttime = value; } }

        private decimal onlinetime = 0;
        /// <summary>
        /// 在线时长
        /// </summary>
        public decimal OnlineTime { get { return onlinetime; } set { onlinetime = value; } }

        private int isonline = 0;
        /// <summary>
        /// 用户是否在线
        /// </summary>
        public int IsOnline { get { return isonline; } set { isonline = value; } }

        private string lastip = "";
        /// <summary>
        /// 最后一次登录IP
        /// </summary>
        public string LastIP { get { return lastip; } set { lastip = value; } }


        private int lockuser = 0;
        /// <summary>
        /// 是否锁定用户
        /// </summary>
        public int LockUser { get { return lockuser; } set { lockuser = value; } }



        private string birthday;
        /// <summary>
        /// 出生年月
        /// </summary>
        public string Birthday { get { return birthday; } set { birthday = value; } }

        private string quesion = "";
        /// <summary>
        /// 密码找回问题
        /// </summary>
        public string Quesion { get { return quesion; } set { quesion = value; } }

        private string answer = "";
        /// <summary>
        /// 密码找回答案
        /// </summary>
        public string Answer { get { return answer; } set { answer = value; } }

        private string userphoto = "";
        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserPhoto { get { return userphoto; } set { userphoto = value; } }

        private int userdel = 0;
        /// <summary>
        /// 是否删除
        /// </summary>
        public int UserDel { get { return userdel; } set { userdel = value; } }

        private string usermobile = "";
        /// <summary>
        /// 用户手机
        /// </summary>
        public string UserMobile { get { return usermobile; } set { usermobile = value; } }

        private decimal point = 0;
        /// <summary>
        /// 用户帐户点数
        /// </summary>
        public decimal Point { get { return point; } set { point = value; } }
        private int province = 0;
        /// <summary>
        /// 省份
        /// </summary>
        public int Province { get { return province; } set { province = value; } }

        private int city = 0;
        /// <summary>
        /// 城市
        /// </summary>
        public int City { get { return city; } set { city = value; } }
        private decimal integral = 0;
        /// <summary>
        /// 用户积分
        /// </summary>
        public decimal Integral
        {
            get { return integral; }
            set { integral = value; }
        }

        private string readme = "";
        /// <summary>
        /// 用户说明
        /// </summary>
        public string Readme { get { return readme; } set { readme = value; } }

    }
}
